package oxi.bigu.api;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import org.springframework.stereotype.Component;

@Path("/")
@Component
@Produces(MediaType.APPLICATION_JSON)
public class BiguResources {
	
	@GET
	public boolean login(@QueryParam("name") String name,
						 @QueryParam("password") String password){
		System.out.println("--------------- ENTROU LOGIN --------------------");
		System.out.println("Login: "+name);
		System.out.println("Password "+password);
		return true;
	}

}
